package com.zzptc.lzh.myapp4.entity;

import java.util.List;

public class Code {
    private String reason;
    private   CodeInfo result;
    private Integer error_code;

    public Code() {
    }

    public Code(String reason, CodeInfo result, Integer error_code) {
        this.reason = reason;
        this.result = result;
        this.error_code = error_code;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public CodeInfo getResult() {
        return result;
    }

    public void setResult(CodeInfo result) {
        this.result = result;
    }

    public Integer getError_code() {
        return error_code;
    }

    public void setError_code(Integer error_code) {
        this.error_code = error_code;
    }

    class CodeInfo{
        private List<Co> data;
        private Integer totalcount;
        private Integer totalpage;
        private Integer currentpage;
        private Integer pagesize;

        public CodeInfo() {
        }

        public CodeInfo(List<Co> data, Integer totalcount, Integer totalpage, Integer currentpage, Integer pagesize) {
            this.data = data;
            this.totalcount = totalcount;
            this.totalpage = totalpage;
            this.currentpage = currentpage;
            this.pagesize = pagesize;
        }

        public List<Co> getData() {
            return data;
        }

        public void setData(List<Co> data) {
            this.data = data;
        }

        public Integer getTotalcount() {
            return totalcount;
        }

        public void setTotalcount(Integer totalcount) {
            this.totalcount = totalcount;
        }

        public Integer getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(Integer totalpage) {
            this.totalpage = totalpage;
        }

        public Integer getCurrentpage() {
            return currentpage;
        }

        public void setCurrentpage(Integer currentpage) {
            this.currentpage = currentpage;
        }

        public Integer getPagesize() {
            return pagesize;
        }

        public void setPagesize(Integer pagesize) {
            this.pagesize = pagesize;
        }
    }
    class Co{
        private Integer PostNumber;
        private String Province;
        private String City;
        private String District;
        private String Address;

        public Co() {
        }

        public Co(Integer postNumber, String province, String city, String district, String address) {
            PostNumber = postNumber;
            Province = province;
            City = city;
            District = district;
            Address = address;
        }

        public Integer getPostNumber() {
            return PostNumber;
        }

        public void setPostNumber(Integer postNumber) {
            PostNumber = postNumber;
        }

        public String getProvince() {
            return Province;
        }

        public void setProvince(String province) {
            Province = province;
        }

        public String getCity() {
            return City;
        }

        public void setCity(String city) {
            City = city;
        }

        public String getDistrict() {
            return District;
        }

        public void setDistrict(String district) {
            District = district;
        }

        public String getAddress() {
            return Address;
        }

        public void setAddress(String address) {
            Address = address;
        }
    }
}
